﻿using KWT.DRG_DIP.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KWT.DRG_DIP.DO.System
{
    public static class AppSettings
    {
        public static class JWT
        {
            public static string Issuer => _Config.GetValue<string>("Authentication:JwtBearer:Issuer");
            public static string AccessTokenAudience => _Config.GetValue<string>("Authentication:JwtBearer:AccessTokenAudience");
            public static string RefreshTokenAudience => _Config.GetValue<string>("Authentication:JwtBearer:RefreshTokenAudience");
            public static string SecurityKey => _Config.GetValue<string>("Authentication:JwtBearer:SecurityKey");
            public static int AccessTokenExpires => _Config.GetValue<int>("Authentication:JwtBearer:AccessTokenExpires");
            public static int RefreshTokenExpires => _Config.GetValue<int>("Authentication:JwtBearer:RefreshTokenExpires");
        }
    }
}
